package com.ylsk.statistics.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ylsk.check.domain.so.CheckRecordSO;
import com.ylsk.check.domain.so.ReportInfoSO;
import com.ylsk.statistics.domain.vo.CheckCountTotalVO;
import com.ylsk.statistics.domain.vo.ProjectProcessTotalVO;

import java.util.List;
import java.util.Map;

public interface ReportFormsMapper extends BaseMapper {
    /**
     * 获取项目各个节点信息
     * @param reportInfoId
     * @return
     */
    public List<Map<String,Object>> getProjectTimeNodeInfo(Long reportInfoId);


    /**
     * 项目过程统计
     * @param reportInfoSO
     * @return
     */
    List<ProjectProcessTotalVO> getProjectProcessTotal(ReportInfoSO reportInfoSO);


    /**
     * 施工检查数量统计
     * @param checkRecordSO
     * @return
     */
    List<CheckCountTotalVO> getCheckCountTotal(CheckRecordSO checkRecordSO);

}
